package com.lian.mapper;

import com.lian.pojo.Type;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lsx
 * @since 2024-05-07
 */
@Mapper
public interface TypeMapper extends BaseMapper<Type> {

    @Select("select * from type")
    List<Type> getTypeTree();
}
